package com.rich.dao;

import java.sql.SQLException;

import com.rich.domain.User;

public interface UserDao {

	void save(User user)throws Exception;

	User getByCode(String code)throws Exception;

	void update(User user)throws Exception;

	User getUser(String userName, String password)throws Exception;

}
